/*
 Navicat Premium Data Transfer

 Source Server         : localhost
 Source Server Type    : MySQL
 Source Server Version : 80031
 Source Host           : localhost:3306
 Source Schema         : ddplace

 Target Server Type    : MySQL
 Target Server Version : 80031
 File Encoding         : 65001

 Date: 16/06/2023 18:45:37
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for grid
-- ----------------------------
DROP TABLE IF EXISTS `grid`;
CREATE TABLE `grid` (
  `_id` int NOT NULL AUTO_INCREMENT,
  `x` int DEFAULT NULL,
  `y` int DEFAULT NULL,
  `idx` int DEFAULT NULL,
  `color` int DEFAULT NULL,
  `owner` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `nftId` int NOT NULL,
  `createAt` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  PRIMARY KEY (`_id`) USING BTREE,
  KEY `nftid` (`nftId`) USING BTREE,
  CONSTRAINT `nftid` FOREIGN KEY (`nftId`) REFERENCES `nft` (`_id`) ON DELETE CASCADE ON UPDATE RESTRICT
) ENGINE=InnoDB AUTO_INCREMENT=128 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ROW_FORMAT=DYNAMIC;

-- ----------------------------
-- Records of grid
-- ----------------------------
BEGIN;
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (9, 1, 2, 12, 2, 'fdsijfodfoid', 2, '1685535778932');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (10, 0, 2, 2, 3, 'fdsijfodfoid', 2, '1685536350132');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (11, 3, 1, 31, 1, 'fdsijfodfoid', 2, '1685536369097');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (12, 3, 5, 35, 4, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685540510581');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (13, 7, 5, 75, 10, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685540514382');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (14, 3, 9, 39, 9, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685540516636');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (15, 5, 3, 53, 7, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685540542038');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (16, 7, 2, 72, 2, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685540544948');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (17, 7, 8, 78, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685540546165');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (18, 2, 7, 27, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685540551486');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (19, 1, 5, 15, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685540551915');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (20, 9, 5, 95, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685540553282');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (21, 8, 7, 87, 8, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685540554267');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (22, 6, 7, 67, 8, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685540554665');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (23, 5, 5, 55, 10, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685540556384');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (24, 4, 4, 44, 10, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685540556920');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (25, 8, 8, 88, 10, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685540610609');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (26, 3, 3, 33, 5, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685540616241');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (27, 4, 3, 43, 5, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685540618287');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (28, 4, 2, 42, 5, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685540618734');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (29, 5, 2, 52, 5, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685540619203');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (30, 6, 3, 63, 3, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685540621185');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (31, 6, 4, 64, 3, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685540622320');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (32, 2, 0, 20, 7, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685583929910');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (33, 2, 3, 23, 7, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685583931520');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (34, 2, 6, 26, 7, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1685583933270');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (36, 4, 4, 44, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686836427397');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (38, 5, 3, 53, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686836748283');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (39, 6, 3, 63, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686837934463');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (40, 0, 0, 0, 4, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686903564547');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (41, 0, 1, 1, 4, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686903565492');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (42, 6, 1, 61, 4, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686903997090');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (43, 7, 1, 71, 4, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686903997797');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (44, 8, 1, 81, 4, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686903998201');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (45, 0, 9, 9, 9, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686905027728');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (46, 1, 9, 19, 10, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686905038722');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (47, 2, 9, 29, 10, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686905039201');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (48, 2, 1, 21, 7, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686905256622');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (49, 2, 2, 22, 7, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686905257013');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (50, 2, 5, 25, 7, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686905258381');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (51, 2, 8, 28, 5, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686906626347');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (52, 1, 8, 18, 5, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686906626778');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (53, 3, 8, 38, 3, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686906992599');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (54, 0, 4, 4, 4, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907276194');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (55, 1, 0, 10, 3, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907565729');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (56, 1, 1, 11, 3, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907566220');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (57, 3, 4, 34, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907567933');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (58, 3, 2, 32, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907568436');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (59, 1, 3, 13, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907569085');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (60, 0, 3, 3, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907570972');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (61, 1, 4, 14, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907571402');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (62, 1, 6, 16, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907572289');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (63, 1, 7, 17, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907573635');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (64, 4, 5, 45, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907574537');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (65, 5, 4, 54, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907575039');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (66, 6, 5, 65, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907575452');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (67, 7, 4, 74, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907576022');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (68, 7, 3, 73, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907576368');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (69, 6, 2, 62, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907576767');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (70, 5, 1, 51, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907577319');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (71, 4, 1, 41, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907577652');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (72, 7, 7, 77, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907580268');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (73, 6, 8, 68, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907580718');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (74, 8, 6, 86, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907581288');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (75, 8, 5, 85, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907581668');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (76, 7, 6, 76, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907582353');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (77, 6, 6, 66, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907582719');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (78, 9, 6, 96, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907583436');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (79, 8, 4, 84, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907583901');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (80, 8, 2, 82, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907584219');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (81, 8, 3, 83, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907584736');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (82, 9, 8, 98, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907585519');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (83, 9, 7, 97, 6, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907586572');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (84, 0, 5, 5, 3, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907827236');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (85, 0, 6, 6, 3, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907827884');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (86, 0, 7, 7, 3, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907828449');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (87, 0, 8, 8, 3, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686907828967');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (88, 3, 0, 30, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686910512949');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (89, 4, 0, 40, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686910513554');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (90, 5, 0, 50, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686910514119');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (91, 6, 0, 60, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686910514619');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (92, 7, 0, 70, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686910515085');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (93, 9, 0, 90, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686910515502');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (94, 8, 0, 80, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686910516037');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (95, 9, 1, 91, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686910516701');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (96, 9, 2, 92, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686910517684');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (97, 9, 3, 93, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686910518472');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (98, 9, 4, 94, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686910519382');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (99, 9, 9, 99, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686910520667');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (100, 8, 9, 89, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686910521600');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (101, 7, 9, 79, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686910522181');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (102, 6, 9, 69, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686910522782');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (103, 5, 9, 59, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686910523364');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (104, 4, 9, 49, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686910523901');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (105, 4, 8, 48, 1, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686910524430');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (113, 2, 4, 24, 4, 'cEjx6TiTkucKiJGXA4xY5QXoXVxu58Sv61', 2, '1686911155145');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (114, 4, 7, 47, 5, 'cLLex4qxFPSbqhSANjtyRKYReV3Dnc7YTM', 2, '1686912055155');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (115, 5, 7, 57, 5, 'cLLex4qxFPSbqhSANjtyRKYReV3Dnc7YTM', 2, '1686912056597');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (116, 5, 8, 58, 5, 'cLLex4qxFPSbqhSANjtyRKYReV3Dnc7YTM', 2, '1686912057130');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (117, 3, 7, 37, 5, 'cLLex4qxFPSbqhSANjtyRKYReV3Dnc7YTM', 2, '1686912068272');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (118, 3, 6, 36, 5, 'cLLex4qxFPSbqhSANjtyRKYReV3Dnc7YTM', 2, '1686912068682');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (119, 4, 6, 46, 5, 'cLLex4qxFPSbqhSANjtyRKYReV3Dnc7YTM', 2, '1686912069013');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (120, 5, 6, 56, 5, 'cLLex4qxFPSbqhSANjtyRKYReV3Dnc7YTM', 2, '1686912069364');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (121, 0, 1, 1, 4, 'cLLex4qxFPSbqhSANjtyRKYReV3Dnc7YTM', 4, '1686912182223');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (122, 1, 1, 11, 3, 'cLLex4qxFPSbqhSANjtyRKYReV3Dnc7YTM', 4, '1686912184319');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (123, 0, 0, 0, 10, 'cLLex4qxFPSbqhSANjtyRKYReV3Dnc7YTM', 4, '1686912189256');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (124, 1, 0, 10, 10, 'cLLex4qxFPSbqhSANjtyRKYReV3Dnc7YTM', 4, '1686912189936');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (125, 2, 0, 20, 10, 'cLLex4qxFPSbqhSANjtyRKYReV3Dnc7YTM', 4, '1686912190503');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (126, 3, 0, 30, 10, 'cLLex4qxFPSbqhSANjtyRKYReV3Dnc7YTM', 4, '1686912191085');
INSERT INTO `grid` (`_id`, `x`, `y`, `idx`, `color`, `owner`, `nftId`, `createAt`) VALUES (127, 4, 0, 40, 10, 'cLLex4qxFPSbqhSANjtyRKYReV3Dnc7YTM', 4, '1686912191818');
COMMIT;

-- ----------------------------
-- Table structure for nft
-- ----------------------------
DROP TABLE IF EXISTS `nft`;
CREATE TABLE `nft` (
  `_id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `img` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `owner` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `transferFrom` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `transferTo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `createAt` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `updateAt` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `complete` int NOT NULL DEFAULT '0' COMMENT '0未完成1完成',
  `count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ROW_FORMAT=DYNAMIC;

-- ----------------------------
-- Records of nft
-- ----------------------------
BEGIN;
INSERT INTO `nft` (`_id`, `name`, `description`, `img`, `owner`, `transferFrom`, `transferTo`, `createAt`, `updateAt`, `complete`, `count`) VALUES (2, 'picture100_1684914149999', 'this is id :2NFT in picture100', 'http://localhost:3000/public/img/53dcd07d03e2f9007c4047970f44c854.png', 'cLLex4qxFPSbqhSANjtyRKYReV3Dnc7YTM', NULL, NULL, '1684914149999', '1686912075459', 1, 103);
INSERT INTO `nft` (`_id`, `name`, `description`, `img`, `owner`, `transferFrom`, `transferTo`, `createAt`, `updateAt`, `complete`, `count`) VALUES (4, 'picture100_1686912075464', 'this is id :4NFT in picture100', 'http://localhost:3000/public/img/4a55a1a9e05d5597faa5c6728a587c1a.png', 'cLLex4qxFPSbqhSANjtyRKYReV3Dnc7YTM', NULL, NULL, '1686912075464', '1686912193958', 1, 7);
INSERT INTO `nft` (`_id`, `name`, `description`, `img`, `owner`, `transferFrom`, `transferTo`, `createAt`, `updateAt`, `complete`, `count`) VALUES (5, NULL, NULL, NULL, NULL, NULL, NULL, '1686912193961', NULL, 0, 0);
COMMIT;

-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
  `_id` int NOT NULL AUTO_INCREMENT,
  `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `words` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  PRIMARY KEY (`_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ROW_FORMAT=DYNAMIC;

-- ----------------------------
-- Records of user
-- ----------------------------
BEGIN;
INSERT INTO `user` (`_id`, `address`, `words`) VALUES (11, 'cLLex4qxFPSbqhSANjtyRKYReV3Dnc7YTM', '19851230');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
